import Vue from 'vue'
import Vuex from 'vuex'
import { __model } from "@/utils/commit"
Vue.use(Vuex)
Vue.prototype.$commit = function(params) {
	this.$store.commit("__model", params)
}

const store = new Vuex.Store({
	state: {},
	mutations: {
		__model,
	},
	getters: {},
	actions: {}
})

export default store
